package com.huaguoguo.exception;

import com.huaguoguo.enums.ErrorCodeEnum;

/**
 * 类说明： 自定义异常<br/>
 * author:huaguoguo
 * Date: 2019/3/13
 * Time: 21:56
 */
public class HsException extends RuntimeException{

    private ErrorCodeEnum errorCodeEnum;

    public HsException(ErrorCodeEnum errorCodeEnum) {
        this.errorCodeEnum = errorCodeEnum;
    }

    public ErrorCodeEnum getErrorCodeEnum() {
        return errorCodeEnum;
    }

}
